package com.karson.service.service;

import com.karson.common.model.TrackInfo;
import com.karson.common.request.TrackRequest;
import com.karson.common.response.TrackResponse;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
* @author ZKS
* @description 针对表【ar_track_info(声音信息)】的数据库操作Service
* @createDate 2025-08-14 14:42:37
*/
public interface TrackInfoService extends IService<TrackInfo> {

    Boolean saveAlbumInfo(List<TrackRequest> trackRequest);

    List<TrackResponse> getTrackInfo(Integer albumId);

    Boolean uploadFile(HttpServletRequest request, MultipartFile file, String folder, Integer fileType, Integer trackId) throws IOException;
}
